package com.ivncorp.evnproject.map;

import com.google.android.gms.maps.model.LatLng;
import com.google.maps.android.clustering.ClusterItem;
import com.ivncorp.evnproject.model.UploadTable;

public class ObjectMap implements ClusterItem {
	private final UploadTable uploadTable;

	public ObjectMap(UploadTable _uploadTable) {
		
		uploadTable=_uploadTable;
	}


	public UploadTable getUploadTable() {
		return uploadTable;
	}


	@Override
	public LatLng getPosition() {
		return new LatLng(Double.parseDouble(uploadTable.getLatitude()),Double.parseDouble(uploadTable.getLongitude()));
	}
}
